package com.zbl.zblproject.core.entity;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2018/10/9
 */
public class Result {

    private int code;

    private String msg;

    private Object data;

    private Object another;

    public Result(){
        super();
    }

    public Result(int code, String msg, Object data) {
        super();
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Object getAnother() {
        return another;
    }

    public Result setAnother(Object another) {
        this.another = another;
        return this;
    }
}
